const promise = new Promise((resolve, reject) => {
  // resolve("resolve message")
  reject("reject")
})


promise.then(res => {
  console.log("res", res);
}).catch(err => {
  console.log("err", err);
}).finally(() => {
  console.log("finally");
})
